<form id="edit-form" class="layui-form" lay-filter="edit-form" onsubmit="return false;">
    <input type="hidden" name="id" value="#(bean.id??)">
    <div class="layui-card">
        <div class="layui-card-body">
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label required">系统模块</label>
                <div class="layui-input-inline">
                    <input type="text" value="#(bean.title??)"  class="layui-input">
                </div>
                <label class="layui-form-label required">操作人员</label>
                <div class="layui-input-inline">
                    <input type="text" value="#(bean.userName??)" class="layui-input">
                </div>
                <label class="layui-form-label required">部门名称</label>
                <div class="layui-input-inline">
                    <input type="text" value="#(bean.deptName??)" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label required">操作类型</label>
                <div class="layui-input-inline">
                    <select lay-verify="required">
                    #DICTS(type="operate_type")
                    #for(item : dicts)
                        <option value="#(item.value)"#if(item.value == bean.type??) selected#end>#(item.label)</option>
                    #end
                    </select>
                </div>
                <label class="layui-form-label required">请求方法</label>
                <div class="layui-input-inline">
                    <select lay-verify="required">
                    #DICTS(type="request_method")
                    #for(item : dicts)
                        <option value="#(item.value)"#if(item.value == bean.requestMethod??) selected#end>#(item.label)</option>
                    #end
                    </select>
                </div>
                <label class="layui-form-label required">操作状态</label>
                <div class="layui-input-inline">
                    <select lay-verify="required">
                    #DICTS(type="operate_status")
                    #for(item : dicts)
                        <option value="#(item.value)"#if(item.value == bean.status??) selected#end>#(item.label)</option>
                    #end
                    </select>
                </div>
            </div>
            <div class="layui-form-item layui-block">
                <label class="layui-form-label required">请求URL</label>
                <div class="layui-input-block">
                    <input type="text" value="#(bean.url??)" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label required">IP地址</label>
                <div class="layui-input-inline">
                    <input type="text" value="#(bean.ip??)" class="layui-input">
                </div>
                <label class="layui-form-label required">操作地点</label>
                <div class="layui-input-inline">
                    <input type="text" value="#(bean.location??)" class="layui-input">
                </div>
                <label class="layui-form-label required">操作时间</label>
                <div class="layui-input-inline">
                    <input type="text" value="#date(bean.actionDatetime??, "yyyy-MM-dd HH:mm:ss")"  class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-block">
                <label class="layui-form-label required">方法名称</label>
                <div class="layui-input-block">
                    <input type="text" value="#(bean.method??)" class="layui-input">
                </div>
            </div>
            #if(bean.param)
            <div class="layui-form-item layui-block">
                <label class="layui-form-label">请求参数</label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea">#(bean.param??)</textarea>
                </div>
            </div>
            #end
            #if(bean.result)
            <div class="layui-form-item layui-block">
                <label class="layui-form-label">返回参数</label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea">#(bean.result??)</textarea>
                </div>
            </div>
            #end
            #if(bean.message)
            <div class="layui-form-item layui-block">
                <label class="layui-form-label">错误消息</label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea">#(bean.message??)</textarea>
                </div>
            </div>
            #end
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label required">消耗时间</label>
                <div class="layui-input-inline">
                    <input type="text" value="#(bean.cost??)(ms)"  class="layui-input">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item" style="display: none;">
        <div class="layui-input-block">
            <button id="submit-button" type="submit" class="layui-btn layui-btn-sm" lay-submit lay-filter="submit-button">
                <i class="layui-icon layui-icon-ok"></i> 提交
            </button>
        </div>
    </div>
</form>
#include("/admin/_common/foot.html")
